// samsting : this file is auto create.

#include "Rds_Region/2014-08-15/DescribeSlowLogRecordsResponse.h"

namespace aliyun { namespace Rds_Region {

DescribeSlowLogRecordsResponse::DescribeSlowLogRecordsResponse() {
}

const string& DescribeSlowLogRecordsResponse::SQLSlowRecord::GetHostAddress(void) const {
  return HostAddress_;
}

const string& DescribeSlowLogRecordsResponse::SQLSlowRecord::GetDBName(void) const {
  return DBName_;
}

const string& DescribeSlowLogRecordsResponse::SQLSlowRecord::GetSQLText(void) const {
  return SQLText_;
}

int64 DescribeSlowLogRecordsResponse::SQLSlowRecord::GetQueryTimes(void) const {
  return QueryTimes_;
}

int64 DescribeSlowLogRecordsResponse::SQLSlowRecord::GetLockTimes(void) const {
  return LockTimes_;
}

int64 DescribeSlowLogRecordsResponse::SQLSlowRecord::GetParseRowCounts(void) const {
  return ParseRowCounts_;
}

int64 DescribeSlowLogRecordsResponse::SQLSlowRecord::GetReturnRowCounts(void) const {
  return ReturnRowCounts_;
}

const string& DescribeSlowLogRecordsResponse::SQLSlowRecord::GetExecutionStartTime(void) const {
  return ExecutionStartTime_;
}

const std::vector<DescribeSlowLogRecordsResponse::SQLSlowRecord>& DescribeSlowLogRecordsResponse::GetItems(void) const {
  return Items_;
}

const string& DescribeSlowLogRecordsResponse::GetEngine(void) const {
  return Engine_;
}

int DescribeSlowLogRecordsResponse::GetTotalRecordCount(void) const {
  return TotalRecordCount_;
}

int DescribeSlowLogRecordsResponse::GetPageNumber(void) const {
  return PageNumber_;
}

int DescribeSlowLogRecordsResponse::GetPageRecordCount(void) const {
  return PageRecordCount_;
}

const char* DescribeSlowLogRecordsResponse::BaseKey(void) {
  return "DescribeSlowLogRecordsResponse";
}

void DescribeSlowLogRecordsResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  int Items__length = 0;
  UnmarshallerInt(Items__length, response_map, "DescribeSlowLogRecordsResponse.Items.Length");
  if(Items__length >= 0) {
    Items_.resize(Items__length);
    for(int i1 = 0; i1 < Items__length; i1++) {
      UnmarshallerString(Items_[i1].HostAddress_, response_map, "DescribeSlowLogRecordsResponse.Items["+string_ValueOfInt(i1)+"].HostAddress");
      UnmarshallerString(Items_[i1].DBName_, response_map, "DescribeSlowLogRecordsResponse.Items["+string_ValueOfInt(i1)+"].DBName");
      UnmarshallerString(Items_[i1].SQLText_, response_map, "DescribeSlowLogRecordsResponse.Items["+string_ValueOfInt(i1)+"].SQLText");
      UnmarshallerInt64(Items_[i1].QueryTimes_, response_map, "DescribeSlowLogRecordsResponse.Items["+string_ValueOfInt(i1)+"].QueryTimes");
      UnmarshallerInt64(Items_[i1].LockTimes_, response_map, "DescribeSlowLogRecordsResponse.Items["+string_ValueOfInt(i1)+"].LockTimes");
      UnmarshallerInt64(Items_[i1].ParseRowCounts_, response_map, "DescribeSlowLogRecordsResponse.Items["+string_ValueOfInt(i1)+"].ParseRowCounts");
      UnmarshallerInt64(Items_[i1].ReturnRowCounts_, response_map, "DescribeSlowLogRecordsResponse.Items["+string_ValueOfInt(i1)+"].ReturnRowCounts");
      UnmarshallerString(Items_[i1].ExecutionStartTime_, response_map, "DescribeSlowLogRecordsResponse.Items["+string_ValueOfInt(i1)+"].ExecutionStartTime");
    } // for(int i1 = 0; i1 < Items__length; i1++) {
  } // if(Items__length >= 0) {

  UnmarshallerString(Engine_, response_map, "DescribeSlowLogRecordsResponse.Engine");
  UnmarshallerInt(TotalRecordCount_, response_map, "DescribeSlowLogRecordsResponse.TotalRecordCount");
  UnmarshallerInt(PageNumber_, response_map, "DescribeSlowLogRecordsResponse.PageNumber");
  UnmarshallerInt(PageRecordCount_, response_map, "DescribeSlowLogRecordsResponse.PageRecordCount");
}


} } // namespace aliyun { namespace Rds_Region {

// end of file 
